package org.jeecg.modules.hotel.belongToSkd.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.hotel.belongToSkd.entity.LwgyStudentBed;
import org.jeecg.modules.hotel.belongToSkd.entity.ThirdStandard;
import org.jeecg.modules.hotel.belongToSkd.entity.ThirdStandardChange;
import org.jeecg.modules.hotel.belongToSkd.mapper.ThirdStandardChangeMapper;
import org.jeecg.modules.hotel.belongToSkd.service.ThirdStandardChangeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 11025
 */
@Service
public class ThirdStandardChangeServiceImpl extends ServiceImpl<ThirdStandardChangeMapper, ThirdStandard> implements ThirdStandardChangeService {
    @Resource
    private ThirdStandardChangeMapper thirdStandardChangeMapper;

    @Override
    public void insertHotelInfo(List<ThirdStandard> roomList) {
        thirdStandardChangeMapper.insertHotelInfo(roomList);
    }

    @Override
    public void insertBedInfo(List<ThirdStandardChange> bedList) {
        thirdStandardChangeMapper.insertBedInfo(bedList);
    }

    @Override
    public List<ThirdStandard> querythirdStandard() {
        return thirdStandardChangeMapper.querythirdStandard();
    }

    @Override
    public void updateBatchByBedIdS(List<ThirdStandard> list) {
        thirdStandardChangeMapper.updateBatchByBedIdS(list);
    }
}
